namespace GGEditor.API.Commands
{
	public interface ICommandManager<T>
	{
		void Do(ICommand<T> command);
		ICommandOperation<T> BeginOperation(string description);
	}

	public interface ICommandOperation<T>
	{
		void Do(ICommand<T> command);
		void Cancel();
		void End();
	}
}